#ifndef __BSP_H__
#define __BSP_H__

#include "STC8Fxx.h"

#define Enable_Interrupt()      (EA = 1)
#define Disable_Interrupt()     (EA = 0)

#define SysTick_Start()         do {TF0 = 0; TR0 = 1;} while(0)
#define SysTick_Stop()          do {TF0 = 0; TR0 = 0;} while(0)

void Init_Bsp(void);

#endif
